package com.example.auth;

import com.sun.net.httpserver.BasicAuthenticator;

public class MyBasicAuthenticator extends BasicAuthenticator {

    public MyBasicAuthenticator(String s) {
        super(s);
    }

    @Override
    public boolean checkCredentials(String username, String password) {
        System.out.println("username:"+username+",password:"+password);
        return true;
    }
}
